package com.xinruke.hostels.reservation.interfaces.dto.pms;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinruke.hostels.common.vo.query.BaseQueryVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author Chenry
 * @ClassName MeetingBookingInfoQueryDto
 * @date：2019/7/20
 * @version: V1.0.0
 * @description：
 */
@ApiModel(value = "会议订单查询DTO")
@Data
public class MeetingBookingInfoQueryDto extends BaseQueryVO {

    /**
     * 预订人姓名
     */

    @ApiModelProperty(value = "预订人姓名",required = true)
    @NotBlank(message = "预订人姓名不能为空")
    private String yudingrenxingming;

    /**
     * 预订人电话
     */
    @ApiModelProperty(value = "预订人电话",required = true)
    @NotBlank(message = "预订人电话不能为空")
    private String yudingrendianhua;


    @ApiModelProperty(value = "主办城市编码")
    private String zhubanchengshi;


    @ApiModelProperty(value = "主办单位", required = true)
    @NotBlank(message = "主办单位不能为空")
    private String zhubandanwei;

    /**
     * 会议级别：1一类会议；2二类会议；3三类会议；4四类会议
     */
    @ApiModelProperty(value = "会议级别：字典编码：yd.huiyixuqiubiaoshi", required = true)
    @NotNull(message = "会议级别：不能为空")
    private Byte huiyijibie;


    /**
     * 开始时间：格式YYYY-MM-DD HH:MM精确到分
     */
    @ApiModelProperty(value = "开始时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @NotNull(message = "开始时间不能为空")
    private Date kaishishijian;

    /**
     * 结束时间：格式YYYY-MM-DD HH:MM精确到分
     */
    @ApiModelProperty(value = "结束时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @NotNull(message = "结束时间不能为空")
    private Date jieshushijian;

    /**
     * 会务组入住时间
     */
    @ApiModelProperty(value = "会务组入住时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @NotNull(message = "会务组入住时间不能为空")
    private Date huiwuzuruzhushijian;


    /**
     * 总价格
     */
    @ApiModelProperty(value = "总价")
    private BigDecimal dingdanzongjia;

}
